package com.idefav.springdemo1;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class PropertyDemo {

  private String p1;

  private String p2;

  private Map<String,String> map;

  private Set<String> sourceSet;

  public Set<String> getSourceSet() {
    return sourceSet;
  }

  public void setSourceSet(Set<String> sourceSet) {
    this.sourceSet = sourceSet;
  }

  public Map<String, String> getMap() {
    return map;
  }

  public void setMap(Map<String, String> map) {
    this.map = map;
  }

  public List<String> getList() {
    return list;
  }

  public void setList(List<String> list) {
    this.list = list;
  }

  private List<String> list;

  public PropertyDemo(Map<String, String> map) {
    this.map = map;
  }

  public PropertyDemo() {
  }

  public PropertyDemo(String p1, String p2) {
    this.p1 = p1;
    this.p2 = p2;
  }

  public String getP1() {
    return p1;
  }

  public void setP1(String p1) {
    this.p1 = p1;
  }

  public String getP2() {
    return p2;
  }

  public void setP2(String p2) {
    this.p2 = p2;
  }
}
